//
//  NearByViewController.h
//  ACSProduct
//
//  Created by gaurav on 09/10/11.
//  Copyright 2011 dhillon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Global.h"
#import "ModalController.h"
#import "UserLocationFinder.h"
#import "ListCell.h"
#import "DetailsViewController.h"
#import "ViewPickerTool.h"
#import "MultipleDownload.h"
#import "CustomTableCell.h"
#import "ASIHTTPRequest.h"
#import "ASIFormDataRequest.h"
#import "EGORefreshTableHeaderView.h"
@interface NearByViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,cutomDelegateToolPicker,EGORefreshTableHeaderDelegate> {
    
    NSMutableArray *arrayDistanceFilter;
    ViewPickerTool *pickerDis;
    IBOutlet UITableView *tableNearBy;
    BOOL kmsel;
    IBOutlet UILabel *lableNoNearBy;
    int end;
    int start;
    IBOutlet UIBarButtonItem *preBtn;
    IBOutlet UIBarButtonItem *nxtBtn;
    IBOutlet UILabel *status;
    NSMutableArray *arrayNearBy;
    NSMutableArray *arraySelect;
    BOOL _reloading;
    EGORefreshTableHeaderView *_refreshHeaderView;
}
-(void)tableViewSettingWithRad:(NSInteger)radius;
@property(nonatomic,retain)    MultipleDownload   *downloads;
@property(nonatomic,retain)    NSMutableArray   *urls;
@property(retain)    NSMutableArray *arrayImageView;
-(void)assignInitialValue;
-(void)manageSession:(BOOL)forPrevious;
-(IBAction)clickToNext:(id)sender;
-(IBAction)clickToPre:(id)sender;
@end
